package com.longsec;

import java.io.FileNotFoundException;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@SpringBootApplication
public class Application {

	public static void main(String[] args) throws FileNotFoundException {
		SpringApplication.run(Application.class, args);
	}
	
	@RequestMapping("/")
	public String index(){
		//默认首页配置
		return "forward:/index.html";
	}

}
